package com.gitee.qdbp.base.shiro.session;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.session.Session;
import org.apache.shiro.web.session.mgt.WebSessionKey;

public class RealSessionKey extends WebSessionKey {

    /** SerialVersionUID **/
    private static final long serialVersionUID = 1L;

    private Session session;

    public RealSessionKey(Session session, ServletRequest request, ServletResponse response) {
        super(session.getId(), request, response);
        this.session = session;
    }

    public Session getSession() {
        return session;
    }

    public void setSession(Session session) {
        this.session = session;
    }

}
